import java.util.Date;

/**
 * Created by 56231 on 2017/3/18.
 */
public class ThreadFor extends Thread{

    @Override
    public void run() {
        super.run();
        try {
            System.out.println(new Date().getTime());
//            Thread.sleep(1000L);
            System.out.println(new Date().getTime());
            System.out.println("2"+Thread.currentThread().getName());
        } catch (Exception e) {
            e.printStackTrace();
        }
        for (int i = 0; i < 100000 ; i++) {
            System.out.println("i="+ (i+1));
        }
    }
}
